package aiowang.springframe.h2.vo;

import java.io.Serializable;

/**
 * @author aiowang
 * @description:
 * @date 2021/8/16 13:53
 */
public class User implements Serializable {
    //id
    private Integer id;
    //用户名
    private String username;
    //年龄
    private Integer age;

    public User() {
    }



    public User(Integer id, String username, Integer age) {
        this.username = username;
        this.id = id;
        this.age = age;
    }

    @Override
    public String toString() {
        return "User [username=" + username + ", age=" + age + "]";
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}